let validation = function () {
    return {
        validation: function (element) {
            let $form = $(element).parents('.e-form');
            if ($form.valid()) {
                ETool.successTip('表单验证通过');
            } else {
                ETool.warnTip('表单验证失败');
            }
        }
    }
}();
